package com.tianjipms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("sys_vehicl")
public class Vehicle {
    private static final long serialVersionUID = 1L;
    /**
     * 车位编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 拥有者
     */
    private Long userId;
    /**
     * 车牌号
     */
    private String licenseNumber;
    /**
     * 是否为内部车(0-否，1-是)
     */
    private Integer isVip;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getLicenseNumber() {
        return licenseNumber;
    }

    public void setLicenseNumber(String licenseNumber) {
        this.licenseNumber = licenseNumber;
    }

    public Integer getIsVip() {
        return isVip;
    }

    public void setIsVip(Integer isVip) {
        this.isVip = isVip;
    }

}
